<%@page import="com.sbl.bajw.pc.model.CameraModel"%>
<%@page import="java.util.HashMap"%>
<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@include file="../../common/prama.jsp" %>
    <%
    List<HashMap<String,String>> pics = (List<HashMap<String,String>>)request.getAttribute("pics");
    CameraModel model = (CameraModel)request.getAttribute("model");
    %>
<div class="CommonPanel" id="msg_search_div">
	<input type="hidden" id="model_id" value="${model.id }"/>
	<table>
		<tr>
			<td class="label">摄像头所有人或单位:</td>
			<td class="input">
				${model.belongName }
			</td>
			<td class="label">联系电话:</td>
			<td class="input">
				${model.belongPhone }
			</td>
		</tr>
		<tr>
			<td class="label">监控室地址:</td>
			<td class="input">
				${model.houseAddress }
			</td>
			<td class="label">厂家:</td>
			<td class="input">
				${model.factoryName }
			</td>
		</tr>
		<tr>
			<td class="label">摄像头地址:</td>
			<td class="input">
				${model.cameraAddress }
			</td>
			<td class="label">ATM编号:</td>
			<td class="input">
				${model.atmCode }
			</td>
		</tr>
		<tr>
			<td class="label">基站名称:</td>
			<td class="input">
				${model.baseStationName }
			</td>
			<td class="label">基站代码:</td>
			<td class="input">
				${model.baseStationCode }
			</td>
		</tr>
		<tr>
			<td class="label">摄像头类型：</td>
			<td class="input">
				${model.classname }
			</td>
			<td class="label">摄像头方向：</td>
			<td class="input">
				${model.directionname }
			</td>
		</tr>
		<tr>
			<td class="label">摄像头场所：</td>
			<td class="input">
				${model.placename }
			</td>
			<td class="label">摄像头保存时间：</td>
			<td class="input">
				${model.savetimeName }
			</td>
		</tr>
		<tr>
			<td class="label">摄像头类别：</td>
			<td class="input">
				${model.typename }
			</td>
			<td class="label">基站运营商：</td>
			<td class="input">
				${model.yunyingshangname }
			</td>
		</tr>
		<tr>
			<td class="label">审核人：</td>
			<td class="input">
				${model.auditusername }
			</td>
			<td class="label">审核时间：</td>
			<td class="input">
				${model.audittime }
			</td>
		</tr>
		<tr>
			<td class="label">审核结果：</td>
			<td class="input">
				<%
					if("1".equals(model.getIsQuelity())){ 
				%>
				审核通过
				<%
					}else if("-1".equals(model.getIsQuelity())){ 
				%>
				审核未通过
				<%
					}else{ 
				%>
				未审核
				<%
					}
				%>
			</td>
			<td class="label">审核原因：</td>
			<td class="input">
				${model.auditreason }
			</td>
		</tr>
	</table>
</div>
<div style="float:left;width:600px;height:200px;overflow: hidden;position: relative;">
	<div id="picContentDiv" style="width:<%=200*pics.size()%>px;position: absolute;left:0">
	<%
		for(int i = 0 ;i<pics.size();i++){
			String imgUrl = BaseUrl +"/"+ pics.get(i).get("SMALLIMGURL");
		%>
		<img width="200" style="float:left" src="<%=imgUrl%>"/>
		
		<%
		}
	%>
	</div>
	<div id="preBtn" style="position: absolute;left: 0;top: 50%;cursor: pointer;"><<</div>
	<div id="nextBtn" style="position: absolute;right: 0;top: 50%;cursor: pointer;">>></div>
</div>
<input id="lat" type="hidden" value="${model.lat }"/>
<input id="lon" type="hidden" value="${model.lon }"/>